package com.bjpowernode.crm.workbench.mapper;

import com.bjpowernode.crm.workbench.domain.TranHistory;

import java.util.List;

public interface TranHistoryMapper {

    int updateByPrimaryKey(TranHistory record);
    int insert(TranHistory record);
    //增加
    int insertSelective(TranHistory record);
    //删除
    int deleteByPrimaryKey(String id);
    //修改
    int updateByPrimaryKeySelective(TranHistory record);
    //根据主键查询
    TranHistory selectByPrimaryKey(String id);
    //查询全部
    List<TranHistory> selectAll();
    //根据交易主键查询详情
    List<TranHistory> selectByTranPrimaryKeyForDetails(String tranId);

}